export const contentTableConfig = {
  title: 'Menu List',
  propList: [
    { prop: 'name', label: 'Menu Name', minWidth: '200' },
    { prop: 'type', label: 'Type', minWidth: '60' },
    { prop: 'url', label: 'Menu url', minWidth: '100' },
    { prop: 'icon', label: 'Menu icon', minWidth: '100' },
    { prop: 'permission', label: 'Permission', minWidth: '100' },
    {
      prop: 'create_at',
      label: 'CreateAt',
      minWidth: '220',
      slotName: 'createAt'
    },
    {
      prop: 'update_at',
      label: 'UpdateAt',
      minWidth: '220',
      slotName: 'updateAt'
    },
    { label: 'Operate', minWidth: '120', slotName: 'handler' }
  ],
  showIndexColumn: false,
  showSelectColumn: false,
  childrenProps: {
    rowKey: 'id',
    treeProp: {
      children: 'children'
    }
  },
  showFooter: false
}
